package io.renren.modules.jxgk.service.impl;

import io.renren.modules.jxgk.dao.FeedbackInfoDao;
import io.renren.modules.jxgk.entity.FeedbackInfoEntity;
import io.renren.modules.jxgk.service.FeedbackInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class FeedbackInfoServiceImpl implements FeedbackInfoService{
    @Autowired
    FeedbackInfoDao feedbackInfoDao;
    public List<FeedbackInfoEntity> queryList(Map<String, Object> map){
        return feedbackInfoDao.queryList(map);
    }
    public int queryTotal(Map<String, Object> map){
        return  feedbackInfoDao.queryTotal(map);
    }
    public void deleteBatch(String[] termIds){
        feedbackInfoDao.deleteBatch(termIds);
    }
    public void save(FeedbackInfoEntity ste){
        feedbackInfoDao.save(ste);
    }
    public FeedbackInfoEntity queryObject(String index){
        return feedbackInfoDao.queryObject(index);
    }
    public void update(FeedbackInfoEntity ste){
        feedbackInfoDao.update(ste);
    }
}
